package com.rc.saas.mini.service.rc;

import com.rc.saas.mini.common.base.BaseMapper;
import com.rc.saas.mini.mapper.rc.RcOperatorMapper;
import com.rc.saas.mini.model.rc.RcOperator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RcOperatorServiceImpl implements RcOperatorService {
    @Autowired
    private RcOperatorMapper rcOperatorMapper;

    @Override
    public RcOperatorMapper getMapper() {
        return rcOperatorMapper;
    }

    @Override
    public void insertByReturnId(RcOperator rcOperator) {
        rcOperatorMapper.insertByReturnId(rcOperator);
    }

    @Override
    public List<RcOperator> listByCondition(RcOperator operator) {
        return rcOperatorMapper.listByCondition(operator);
    }
}
